import React, { useEffect } from 'react';

export const useTodo = (props:any) => {
  useEffect(() => {
    props.store.getTodoList()
  })
}